package com.heima.model.search.dtos;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author brianxia
 * @version 1.0
 * @date 2022-11-19 16:04
 */
@Data
public class AssociateSearchDto {
    @NotBlank
    private String searchWords;
    @NotNull
    @Min(1)
    @Max(1000)
    private Integer pageSize;
}
